import request from "@/utils/request"

export const getAllApi = (name, city, pageNum, pageSize) => {
  return request.get(`/warehouseAL?name=${name}&city=${city}&pageNum=${pageNum}&pageSize=${pageSize}`)
}
export const addApi = (data) => {
  return request.post(`/warehouseAL`, data)
}
export const showBackApi = (id) => {
  return request.get(`/warehouseAL/${id}`)
}
export const updateApi = (data) => {
  return request.put(`/warehouseAL`, data)
}
export const delApi = (ids) => {
  return request.delete(`/warehouseAL?ids=${ids}`)
}
export const getAreaLocalInfoApi = () => {
  return request.get(`/warehouseAL/info`)
}